								<table id="sample-table-2" class="table table-striped table-bordered table-hover">
									<thead>
										<tr>
											<th>序号</th>
											<th>商品单号</th>
											<th>商品条形码</th>
											<th>商品名称</th>
											<th>原价</th>
											<th>协商单价</th>
											<th>数量</th>
											<th>税率</th>
											<th>小计</th>
										</tr>
									</thead>
									<tbody>
										<volist name="lists['lists']" id="vo">
											<tr>

												<td>
													<a href="#">{$i}</a>
												</td>
												<td>{$vo.goods_sn}</td>
												<td>{$vo.bar_code}</td>
												<td>{$vo.goods_name}</td>
												<td>{$vo.goods_price}</td>
												<td>{$vo.consult_price}</td>
												<td>{$vo.quantity}</td>
												<td>{$vo.taxrate}</td>
												<td>{$vo['consult_price']*$vo['quantity']}</td>
					
											</tr>
										</volist>
									</tbody>
								</table>
							
					<table style="width: 80%; float: right; margin-bottom:10px">
					    <tr>
					        <td style="text-align: right;"> <div class="page_list_ops dataTables_paginate paging_bootstrap pagination" >{$lists['page_html']}</div></td>
					    </tr>
					</table>

<script type="text/javascript">


    $(function(){
        $("#tbmain tr").hover(function(){
            $(this).css({"background-color":"rgba(243, 236, 236, 0.72)"});
        },function(){
            $(this).css({"background-color":"#fff"});
        });

         $("#alldel").bind("click",checkSel);
    });

     function checkSel(){
       var flg= $(this).is(":checked");
       $("input[type='checkbox']").prop("checked",flg);
    }

   function selallval(){
     var _list="";
     $("#sample-table-2 input[type='checkbox']:checked").each(function(){
         // var flg=$(this).is(":checked");
         //if(!flg)return false;
         var _val=$(this).val();
         if(_val!=""){
         _list+= (_list==""?"":",")+"'"+_val+"'";
         } 
     });
     return _list;
} 


    function _es_openDilog90(url, title,id){ 
     art.dialog.open(url, { title: title, width: '1000px', height: '90%', opacity: 0.2, id: id, fixed: true, close:function(){load();}  });
}
</script>